package com.lk.pet.vet.exception;

public class VetBaseException extends RuntimeException {
    private Integer code;
    public VetBaseException(Integer code){
        super("这是我们的异常基类");
        this.code = code;
    }

    public VetBaseException(Integer code, String message){
        super(message);
        this.code = code;
    }

    public Integer getCode(){
        return this.code;
    }


}
